<div class="post-toc" id="post-toc">
<aside>
    <header>
    <h3>{{.Title}}</h3>
    </header>
    {{ $emtLiPtrn := "(?s)<ul>\\s<li>\\s<ul>(.*)</li>\\s</ul>" }}
    {{ $rplcEmtLi := "<ul>$1" }}
    {{ .TableOfContents | replaceRE $emtLiPtrn $rplcEmtLi | safeHTML }}
</aside>
<a href="#" id="toc-toggle"></a>
</div>